import request from "@/utils/request";

// sparkAi api
export const sparkAiService = (data) => {
    const params = {
        message: data
    }
    return request.post("/chat/spark", params, Headers = {
        'Content-Type': 'application/json'
    }
    )
}

// 火山模型 api
export const VolcengineService = (data) => {
    const params = {
        message: data
    }
    return request.post("/chat/volcengine", params,Headers = {
        'Content-Type': 'application/json'
    })
}